package com.study.thirdpartyeventconsumer.constant;


public enum MailFolderEnum implements BaseEnum {

    Deleted("回收站", 0),
    Drafts("草稿箱", 1),
    Favorite("收藏夹", 2),
    Junk("垃圾邮件", 3),
    Receive("收件箱", 4),
    Send("发件箱", 5),
    ;
    private final String desc;
    private final int code;
    MailFolderEnum(String desc, int code) {
        this.desc = desc;
        this.code = code;
    }

    @Override
    public int getCode() {
        return code;
    }

    @Override
    public String getDesc() {
        return desc;
    }

}